(function() {
    'use strict';
    angular.module('AppRun', ['StateChangeStartRun'])
        .run(appRun);

    function appRun($ionicPlatform) {
        'ngInject';
        $ionicPlatform.ready(function() {
            if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
                cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
                cordova.plugins.Keyboard.disableScroll(true);

            }
            if (window.StatusBar) {
                StatusBar.styleDefault();
            }
        });
    }

})();
